package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfCourseWeixinDao;
import com.wfcm.entity.WfCourseWeixinEntity;
import com.wfcm.service.WfCourseWeixinService;



@Service("wfCourseWeixinService")
public class WfCourseWeixinServiceImpl implements WfCourseWeixinService {
	@Autowired
	private WfCourseWeixinDao wfCourseWeixinDao;
	
	@Override
	public WfCourseWeixinEntity queryObject(Integer id){
		return wfCourseWeixinDao.queryObject(id);
	}
	
	@Override
	public List<WfCourseWeixinEntity> queryList(Map<String, Object> map){
		return wfCourseWeixinDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfCourseWeixinDao.queryTotal(map);
	}
	
	@Override
	public void save(WfCourseWeixinEntity wfCourseWeixin){
		wfCourseWeixinDao.save(wfCourseWeixin);
	}
	
	@Override
	public void update(WfCourseWeixinEntity wfCourseWeixin){
		wfCourseWeixinDao.update(wfCourseWeixin);
	}
	
	@Override
	public void delete(Integer id){
		wfCourseWeixinDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfCourseWeixinDao.deleteBatch(ids);
	}
	
}
